package com.zoro.dyformservice.support.filter.auth.url;

import jakarta.persistence.*;

/**
 * @author zhaoxingwu
 */
@Table(name = "df_auth_url_setting")
@Entity
public class AuthUrlSetting {

    @Id
    private String uri;
    @Enumerated(EnumType.STRING)
    @Column(name = "match_type")
    private MatchType matchType;

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public MatchType getMatchType() {
        return matchType;
    }

    public void setMatchType(MatchType matchType) {
        this.matchType = matchType;
    }

    @Override
    public String toString() {
        return "AuthUrlSetting{" +
                "uri='" + uri + '\'' +
                ", matchType=" + matchType +
                '}';
    }
}
